// 生产环境下清除console打印
const plugins = [];
if (process.env.NODE_ENV === 'production') {
//exclude(忽略)
  plugins.push(["transform-remove-console", { "exclude": [ "error", "warn"] }])
}
module.exports = {
  presets: [
    ['@vue/app', {
      polyfills: [
        'es6.promise',
        'es6.symbol',
        'es6.object.assign'
      ],
    }]
  ],
  plugins
}